<?php

header('content-type:text/html;charset=utf-8');
header("Access-Control-Allow-Origin:*");

$server = 'localhost:3306';
$username = $password = 'root';
$dbname = '2020';

$conn = mysqli_connect($server, $username, $password, $dbname);

if (!$conn) {
    die('数据库连接失败');
}
